<!DOCTYPE html>
<html>
<head>
	<title>vue实例</title>
	<meta charset="utf-8">
	<script type="text/javascript" src="./js/vue.js"></script>
</head>
<body>
	<div id="app">
		<div >{{fullName}}
			
		</div>
		
	
	</div>

</body>
<script type="text/javascript">

	var vm = new Vue({
		el:"#app",
		data:{
			firstName:"Dell",
			lastName:"Lee",
			fullName:"",
			age:28
		},
		

		computed:{

			fullName:{
				get:function() {
					return this.firstName + "" + this.lastName
				},
				set:function(value) {
					var hh = value.split(" ");
					console.log(hh);

				}
			}
			}
		}
		



		
</script>
</html>